package com.caixin.infrastructure.dataobject.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.caixin.infrastructure.dataobject.BaseSuperDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
*系统用户表
*
* @author caixin
* @version 1.0.0
* @date 2021年12月11日 10:10
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "user")
public class UserDO extends BaseSuperDO<Long> {

    @TableId(type= IdType.AUTO)
    private Long userId;
    private String userName;
    private String userPassword;
    private LocalDate createDate;
    private LocalDateTime createDateTime;

}
